import os
from dotenv import load_dotenv

def load_api_info(service):
    load_dotenv()
    if service == "silicon":
        return os.getenv("SILICON_API_KEY"), os.getenv("SILICON_API_URL"), os.getenv("SILICON_MODEL")
    elif service == "huawei":
        return os.getenv("HUAWEI_API_KEY"), os.getenv("HUAWEI_API_URL"), os.getenv("HUAWEI_MODEL")
    elif service == "deepseek":
        return os.getenv("DEEPSEEK_API_KEY"), os.getenv("DEEPSEEK_API_URL"), os.getenv("DEEPSEEK_MODEL")
    return None, None, None